package com.sky.mapper;

import com.sky.entity.Employee;
import com.sky.entity.SubAccounts;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author GHOSTER by RemSynch
 * @since 2024-10-24
 */
@Mapper
public interface SubAccountsMapper extends BaseMapper<SubAccounts> {
    @Select("select * from sub_accounts where username = #{username}")
    SubAccounts getByUsername(String username);
}
